﻿using AutoMapper;

namespace NMA.Infrastructure.AutoMapper
{
    using NMA.Infrastructure.Bootstrapper;    

    public class AutoMapperConfigurator : IBootstrapperTask
    {
        public void Execute()
        {
            Initialize();
        }

        public static void Initialize()
        {
            Mapper.Initialize(x => x.AddProfile<DefaultProfile>());            
        }
    }
}